//
//  Config.h
//  ZhongChengTest
//
//  Created by sinosoft on 12-8-29.
//  Copyright (c) 2012年 sinosoft. All rights reserved.
//

#import <Foundation/Foundation.h>
//#define Server_Url @"http://10.74.1.28:7001/mcpic/servlet/mobileService?"//模拟数据接口1
//#define Server_Url @"http://10.74.1.28:7001/mini-interface/servlet/mobileService?"//模拟数据接口2

//#define Server_Url_Form @"http://10.74.1.28:9001/mini-interface/mobileServlet"//后台测试接口
#define Server_Url_Form @"http://202.105.135.66:8967/mini-interface/mobileServlet"//后台发布接口,该接口是针对表格请求方式ASIFormDataRequest
//#define Server_Url @"http://192.168.1.4:8080/mini-interface/mobileServlet?"//祚海后台接口
//#define Server_Url_Form @"http://192.168.1.4:8080/mini-interface/mobileServlet?"//后台接口,该接口是针对表格请求方式ASIFormDataRequest
//#define Server_Url @"http://10.74.1.237:8080/mini-interface/mobileServlet?"//宏建后台接口
//#define Server_Url_Form @"http:/192.168.1.4:7001/mini-interface/mobileServlet"//群雄后台接口

#define Image_Url @"http://202.105.135.66:8967/mini-interface/imageService?Name=" //后台发布接口,图片前缀URL
//#define Image_Url @"http://10.74.1.28:9001/mini-interface/imageService?Name=" //后台测试接口,图片前缀URL

#define COMPANY_IMG_VERSION @"COMPANY_IMG_VERSION"
#define COMPANY_IMG_DATA @"COMPANY_IMG_DATA"

#define IPAD_VERSION @"I_V0.0.0"
#define OPERATIONLOG @"OPERATIONLOG"

#define DICT_USER_INFO @"DICT_USER_INFO" //用户信息是保存在该字典中,其中的key为"UserAccount","LoginCity","LoginType","UserName";
#define DICT_CUSTOMER_INFO @"DICT_CUSTOMER_INFO"
//客户资料信息是保存在该字典中，其中的key为"idNo","userName","license","phone","email","postalAddress","debutdate"
#define DICT_CAR_INFO @"DICT_CAR_INFO" //车辆信息是保存在该字典中,其中的key为"license","firstdate";
#define Login_UserAccount @"Login_UserAccount" //单独保存用户名
#define DICT_CAR_CUSTOMERINFO @"DICT_CAR_CUSTOMERINFO" //车辆信息是保存在该字典中，主要是在有效保单，历史保单查询，我想续保保单查询页面中的元素需要从该字典中取。里面的key为 license(车牌号码),iDNum(证件号码),policyHolder(投保人),生产厂商(manufacturers),车辆品牌(brand),生产厂家名称(manufacturersName),车辆品牌名称(brandName)
#define DICT_MANAGER @"DICT_MANAGER"//客户经理设置,其中的key为 ManagerNum(客户经理工号)，ManagerName(客户经理姓名),ManagerPhone(客户经理手机号)
#define SKIN_IMG_DATA_01 @"SKIN_IMG_DATA_01"
#define SKIN_IMG_DATA_02 @"SKIN_IMG_DATA_02"
#define SKIN_IMG_DATA_03 @"SKIN_IMG_DATA_03"
#define SKIN_IMG_DATA_04 @"SKIN_IMG_DATA_04"
#define SKIN_IMG_URL_01 @"SKIN_IMG_URL_01"
#define SKIN_IMG_URL_02 @"SKIN_IMG_URL_02"
#define SKIN_IMG_URL_03 @"SKIN_IMG_URL_03"
#define SKIN_IMG_URL_04 @"SKIN_IMG_URL_04"

#define Dict_Weather_Info @"Dict_Weather_Info" //天气预报的缓存，其中的key为Weather(天气),Temp(温度),Date(日期),Wash(洗车指数),

//begin 服务网店的离线信息是保存在该数组中
//#define ARRAY_NETPOINT_MANUFACTURER @"ARRAY_NETPOINT_MANUFACTURER"  //生产厂家
//#define ARRAY_NETPOINT_MANUFACTURER_CODE @"ARRAY_NETPOINT_MANUFACTURER_CODE"    //生产厂家代码
#define ARRAY_NETPOINT_NAME @"ARRAY_NETPOINT_NAME"  //服务网点名称
#define ARRAY_NETPOINT_TYPE @"ARRAY_NETPOINT_TYPE"  //服务网店类型(代码)
//#define ARRAY_NETPOINT_BRAND @"ARRAY_NETPOINT_BRAND"    //车辆品牌
//#define ARRAY_NETPOINT_BRAND_CODE @"ARRAY_NETPOINT_BRAND_CODE"  //车辆品牌代码
//#define ARRAY_NETPOINT_POINTLIST @"ARRAY_NETPOINT_POINTLIST"  //服务网点标注列表
//#define DICT_NETPOINT_POINTLIST @"DICT_NETPOINT_POINTLIST" //服务网点(键值分别为服务网点类型，服务网点标注列表)
//end


#define IS_IPHONE_5 (fabs((double)[[UIScreen mainScreen] bounds].size.height - (double )568) < DBL_EPSILON )
#define IS_WIDESCREEN (fabs((double)[[UIScreen mainScreen] bounds].size.height - (double)568)<DBL_EPSILON )
#define IS_IPHONE ([[[UIDevice currentDevice] model] isEqualToString: @"iPhone" ])
#define IS_IPHONE_SIMULATOR ([[[UIDevice currentDevice]mode ] isEqualToString: @"iPhone Simulator"])
#define IS_IPOD   ([[[UIDevice currentDevice] model] isEqualToString: @"iPod touch"])

@interface Config : NSObject

@end
